package br.com.sistema.smallAgro.service;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.stereotype.Component;

import br.com.sistema.smallAgro.dao.ExemploDao;
import br.com.sistema.smallAgro.modelo.Exemplo;

@Component("exemploService") 
public class ExemploService {

	@Autowired
	@Qualifier("exemploDao")
	public ExemploDao exemploDao;

	public void salvar(Exemplo ex) {
		exemploDao.salvar(ex);
	}
}
